package com.gaeainfo.modules.alarm.feedback.dao;

import com.gaeainfo.modules.alarm.feedback.entity.FeedbackAttEntity;
import com.gaeainfo.modules.alarm.feedback.entity.FeedbackEntity;

import java.util.List;

/**
 * Created by Caven on 2018/7/13.
 */
public interface AlarmFeedbackDao {

    void createFeedback(FeedbackEntity feedbackEntity) throws Exception;

    FeedbackEntity findFeedbackById(String feedbackId) throws Exception;

    FeedbackEntity findFeedbackByProcessId(String processId) throws Exception;

    void updateFeedback(FeedbackEntity feedbackEntity) throws Exception;

    void createFeedbackAtt(FeedbackAttEntity feedbackAttEntity) throws Exception;

    FeedbackAttEntity findFeedBackAttById(String feedbackId, String fileId) throws Exception;

    List<FeedbackAttEntity> findFeedbackAttByFeedbackId(String feedbackId) throws Exception;

    void deleteFeedbackAtt(FeedbackAttEntity feedbackAttEntity) throws Exception;


}
